package com.kgc.mapper;

import com.kgc.pojo.Newsdetail;
import com.kgc.pojo.NewsdetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewsdetailMapper {
    long countByExample(NewsdetailExample example);

    int deleteByExample(NewsdetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Newsdetail record);

    int insertSelective(Newsdetail record);

    List<Newsdetail> selectByExample(NewsdetailExample example);

    Newsdetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Newsdetail record, @Param("example") NewsdetailExample example);

    int updateByExample(@Param("record") Newsdetail record, @Param("example") NewsdetailExample example);

    int updateByPrimaryKeySelective(Newsdetail record);

    int updateByPrimaryKey(Newsdetail record);
}